package com.atguigu.system.mapper;

import com.atguigu.system.model.entity.Spu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author atguigu
 * @since 2025-03-01
 */
public interface SpuMapper extends BaseMapper<Spu> {

    @Select("SELECT * FROM biz_spu WHERE id = #{objectId}")
    Spu selectByID(Integer objectId);
}
